import * as THREE from 'three';
const loader = new THREE.TextureLoader();
const texture = loader.load('/img.jpg');
const geometry = new THREE.BoxGeometry(500, 500, 500);
const material = new THREE.MeshLambertMaterial({
    map: texture,
})

const mesh = new THREE.Mesh(geometry, material);
const group = new THREE.Group();
group.add(mesh);
export default group;